<template>
  <div class="box">
    <div class="sbox">
      <div class="jiantou" @click="fun()">&lt;</div>
      <div>商品详情</div>
      <div class="iconfont icon-shouye"></div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    fun() {
        this.$router.push("/fenlei")
    },
  },
};
</script>

<style scoped>
.box {
    width: 100%;
  height: 0.35rem;
  padding-top: 0.1rem;
  background: white;
  position: fixed;
  top: 0;
  z-index: 2;
}
.sbox{
  display: flex;
  margin: 0 .1rem;
  justify-content: space-between;
}
.box .jiantou,
.iconfont {
  width: 0.25rem;
  height: 0.25rem;
  line-height: 0.25rem;
  font-size: 0.18rem;
  color: white;
  text-align: center;
  background: rgb(200, 200, 200);
  border-radius: 50%;
}
</style>